package org.zcl.内部类.匿名内部类;

/**
 * @Package org.zcl.内部类.匿名内部类
 * @PROJECT_NAME: question
 * @DESCRIPTION:
 * @USER: zhuchenglin
 * @DATE: 2022/1/6 15:50
 */
public class MyInterfaceImpl implements  MyInterface {


    @Override
    public void method1() {
        System.out.println("实现类覆盖重写了方法1");
    }

    @Override
    public void method2() {
        System.out.println("实现了覆盖重写方法2");
    }
}